package org.feiye.studyday28.two;

import java.net.*;

public class Server {

	public static void main(String[] args) {
		ServerSocket ss = null;
		try {
			ss = new ServerSocket(5555);
			while (true) {
				// 接收
				Socket s = ss.accept();
				new ServerThread(s).start();
			}
		} catch (Exception e) {
		}
	}
}
